home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / SMP_LOCK.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  326b  |  18 lines

  1. #ifndef __LINUX_SMPLOCK_H
  2. #define __LINUX_SMPLOCK_H
  3.  
  4. #ifndef __SMP__
  5.  
  6. #define lock_kernel()                do { } while(0)
  7. #define unlock_kernel()                do { } while(0)
  8. #define release_kernel_lock(task, cpu)        do { } while(0)
  9. #define reacquire_kernel_lock(task)        do { } while(0)
  10.  
  11. #else
  12.  
  13. #include <asm/smplock.h>
  14.  
  15. #endif /* __SMP__ */
  16.  
  17. #endif
  18.